<?php
if(isset($_POST)){
		$dbuid = $_POST["dbuid"];
		$name = $_POST["packageUnitNameInput"];
		$metricSystemUnitId = $_POST["packageMetricSystemUnitInput"];
		$quantity = $_POST["packageQuantityInput"];
		$package->update($dbuid, $name, $metricSystemUnitId, $quantity);
} else {
	//TODO: throw exception
	echo "exception";
}